package org.kabanyo.components.supportClasses {
	import org.kabanyo.components.ICircularSeriesRenderer;

	import spark.components.Button;

	public class CircularSeriesRenderer extends Button implements ICircularSeriesRenderer {
		private var _data:Object;

		[Bindable]
		/**
		 * The data to render or edit.
		 */
		public function get data():Object {
			return _data;
		}

		/**
		 * @private
		 */
		public function set data(value:Object):void {
			_data = value;
		}

		private var _color:uint;

		[Bindable]
		/**
		 * The color of circular arc.
		 */
		public function get color():uint {
			return _color;
		}

		/**
		 * @private
		 */
		public function set color(value:uint):void {
			_color = value;
		}

		private var _centerX:Number;

		[Bindable]
		/**
		 * The x center of circular arc.
		 */
		public function get centerX():Number {
			return _centerX;
		}

		/**
		 * @private
		 */
		public function set centerX(value:Number):void {
			_centerX = value;
		}

		private var _centerY:Number;

		[Bindable]
		/**
		 * The y center of circular arc.
		 */
		public function get centerY():Number {
			return _centerY;
		}

		/**
		 * @private
		 */
		public function set centerY(value:Number):void {
			_centerY = value;
		}

		private var _arcThick:Number;

		[Bindable]
		/**
		 * The thickness of circular arc.
		 */
		public function get arcThick():Number {
			return _arcThick;
		}

		/**
		 * @private
		 */
		public function set arcThick(value:Number):void {
			_arcThick = value;
		}

		private var _innerRadius:Number;

		[Bindable]
		/**
		 * The inner radius of circular arc.
		 */
		public function get innerRadius():Number {
			return _innerRadius;
		}

		/**
		 * @private
		 */
		public function set innerRadius(value:Number):void {
			_innerRadius = value;
		}

		private var _startAngle:Number;

		[Bindable]
		/**
		 * The start angle of circular arc.
		 */
		public function get startAngle():Number {
			return _startAngle;
		}

		/**
		 * @private
		 */
		public function set startAngle(value:Number):void {
			_startAngle = value;
		}

		private var _endAngle:Number;

		[Bindable]
		/**
		 * The end angle of circular arc.
		 */
		public function get endAngle():Number {
			return _endAngle;
		}

		/**
		 * @private
		 */
		public function set endAngle(value:Number):void {
			_endAngle = value;
		}

		private var _unit:String;

		[Bindable]
		/**
		 * The unit of series.
		 */
		public function get unit():String {
			return _unit;
		}

		/**
		 * @private
		 */
		public function set unit(value:String):void {
			_unit = value;
		}

		/**
		 * Constructor
		 */
		public function CircularSeriesRenderer() {
			super();
		}
	}
}
